package com.teamwork.module01.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teamwork.common.entity.module01.Class;
import com.teamwork.common.entity.module01.Paike;
import com.teamwork.common.result.Result;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

public interface PaikeService extends IService<Paike> {
    /**
     * 根据学生id查询课程
     * @param id
     * @return
     */
    Result getByStuId(Long id);

    Result getByName(String name);

    Result getPage(Integer page, Integer size);

    Result InsertOrUpdate(Paike paike);

    Result deleteById(Integer id);

    Result batchDelete(List<Integer> ids);
}
